/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function update(id){
    var select = document.getElementById(id);
    var status = select.options[select.selectedIndex].text;    
    alert("Updated!");
    window.location = "http://localhost:8080/FinalProject/admin/order_update_process.jsp?id=" + id + "&status=" + status;    
}